﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.SessionState;
using System.Web.Routing;
using System.Text;

namespace Htss.Platform.Web.Http
{
    public class HttpHandler : IHttpHandler, IRequiresSessionState
    {

        public RequestContext RequestContext
        {
            get;
            set;
        }
        public HttpHandler(RequestContext RequestContext) 
        {

            this.RequestContext = RequestContext;
        }
        public void ProcessRequest(HttpContext HttpContext)
        {
            //调用程序入口
             HttpInvoke.Init(RequestContext);
        }
        public bool IsReusable
        {
            get { return false; }
        }
    }
}
